package com.das.mechanic_base.gen;

import com.das.mechanic_base.bean.alone.AloneImageAndRecordBean;
import com.das.mechanic_base.bean.processsive.ProcessNewBean;

import org.greenrobot.greendao.annotation.Convert;
import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

import java.util.List;

@Entity
public class WorkNewImageBean {

    @Id(autoincrement = true)
    private Long id;

    /**
     * 组成是  施工单id + 列表页的title + 父title + 子title
     */
    public String workKey;

    public long workBaseId;

    // 评论
    public String workComment;

    // 地址
    public String location;

    //语音id
    public long evaluationSoundId;

    // 施工过程下所有工序的存储字段
    public String processKey ;

    //做一个测试标识位
    public String tmpName;

    public String name;

    public String sn;

    public String technicsSn;

    public boolean isCustomeProcess;

    public boolean needPhoto;

    public boolean standardOrNot;

    //当前工序是自定义添加的第几个工序
    public int customeCount;

    // 图片
    @Convert(columnType = String.class, converter = AloneImageOrRecordConverter.class)
    public List<AloneImageAndRecordBean> imageList;

    // 选择题
    @Convert(columnType = String.class, converter = ShortBeanConverter.class)
    public List<ProcessNewBean.ServiceBaseShortBean> shortList;

    public List<ProcessNewBean.ServiceBaseShortBean> getShortList() {
        return this.shortList;
    }

    public void setShortList(List<ProcessNewBean.ServiceBaseShortBean> shortList) {
        this.shortList = shortList;
    }

    public List<AloneImageAndRecordBean> getImageList() {
        return this.imageList;
    }

    public void setImageList(List<AloneImageAndRecordBean> imageList) {
        this.imageList = imageList;
    }

    public int getCustomeCount() {
        return this.customeCount;
    }

    public void setCustomeCount(int customeCount) {
        this.customeCount = customeCount;
    }

    public boolean getStandardOrNot() {
        return this.standardOrNot;
    }

    public void setStandardOrNot(boolean standardOrNot) {
        this.standardOrNot = standardOrNot;
    }

    public boolean getNeedPhoto() {
        return this.needPhoto;
    }

    public void setNeedPhoto(boolean needPhoto) {
        this.needPhoto = needPhoto;
    }

    public boolean getIsCustomeProcess() {
        return this.isCustomeProcess;
    }

    public void setIsCustomeProcess(boolean isCustomeProcess) {
        this.isCustomeProcess = isCustomeProcess;
    }

    public String getTechnicsSn() {
        return this.technicsSn;
    }

    public void setTechnicsSn(String technicsSn) {
        this.technicsSn = technicsSn;
    }

    public String getSn() {
        return this.sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTmpName() {
        return this.tmpName;
    }

    public void setTmpName(String tmpName) {
        this.tmpName = tmpName;
    }

    public String getProcessKey() {
        return this.processKey;
    }

    public void setProcessKey(String processKey) {
        this.processKey = processKey;
    }

    public long getEvaluationSoundId() {
        return this.evaluationSoundId;
    }

    public void setEvaluationSoundId(long evaluationSoundId) {
        this.evaluationSoundId = evaluationSoundId;
    }

    public String getLocation() {
        return this.location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getWorkComment() {
        return this.workComment;
    }

    public void setWorkComment(String workComment) {
        this.workComment = workComment;
    }

    public long getWorkBaseId() {
        return this.workBaseId;
    }

    public void setWorkBaseId(long workBaseId) {
        this.workBaseId = workBaseId;
    }

    public String getWorkKey() {
        return this.workKey;
    }

    public void setWorkKey(String workKey) {
        this.workKey = workKey;
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @Generated(hash = 1198742032)
    public WorkNewImageBean(Long id, String workKey, long workBaseId, String workComment,
            String location, long evaluationSoundId, String processKey, String tmpName,
            String name, String sn, String technicsSn, boolean isCustomeProcess,
            boolean needPhoto, boolean standardOrNot, int customeCount,
            List<AloneImageAndRecordBean> imageList,
            List<ProcessNewBean.ServiceBaseShortBean> shortList) {
        this.id = id;
        this.workKey = workKey;
        this.workBaseId = workBaseId;
        this.workComment = workComment;
        this.location = location;
        this.evaluationSoundId = evaluationSoundId;
        this.processKey = processKey;
        this.tmpName = tmpName;
        this.name = name;
        this.sn = sn;
        this.technicsSn = technicsSn;
        this.isCustomeProcess = isCustomeProcess;
        this.needPhoto = needPhoto;
        this.standardOrNot = standardOrNot;
        this.customeCount = customeCount;
        this.imageList = imageList;
        this.shortList = shortList;
    }

    @Generated(hash = 963637810)
    public WorkNewImageBean() {
    }

   

}
